<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><{$title}><{if isset($subtitle)}> - <{$subtitle}><{/if}></title>
<script type="text/javascript" src="site_media/js/jquery.js"></script>
<script type="text/javascript" src="site_media/js/jquery.ui.js"></script>
<script type="text/javascript" src="site_media/js/jquery.ui.datepicker-zh-TW.js"></script>
<script type="text/javascript" src="site_media/js/js.js"></script>
<script type="text/javascript" src="site_media/js/page/<{$_page}>.js"></script>
<{section name=i loop=$loadjs}>
<script type="text/javascript" src="site_media/js/<{$loadjs[i]}>.js"></script>
<{/section}>
<link rel="stylesheet" href="site_media/css/smoothness/jquery-ui.css" />
<link rel="stylesheet" href="site_media/css/style.css" />
<link rel="stylesheet" href="site_media/css/page/<{$_page}>.css" />
<{section name=i loop=$loadcss}>
<link rel="stylesheet" href="site_media/css/<{$loadcss[i]}>.css" />
<{/section}>
</head>

<body>
<div id="main">
<div id="header">
<img src="site_media/images/logo.gif" />
<div id="navbar">
<ul>
<li class="ui-state-default ui-corner-all"><a href="orderlist.php">查看所有書單</a></li>
<li class="ui-state-default ui-corner-all"><a href="panel.php">使用者選單</a></li>
<li class="ui-state-default ui-corner-all"><a href="login.php">登入/登出</a></li>
</div>
</div>
<div id="content">
<{section name=i loop=$_infoMsg}>
<script type="text/javascript">infoMsg("<{$_infoMsg[i]|escape: 'htmlall'}>");</script>
<{/section}>
<{section name=i loop=$_errorMsg}>
<script type="text/javascript">errMsg("<{$_errorMsg[i]|escape: 'htmlall'}>");</script>
<{/section}>
